package com.data.modules.health.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 大健康房间
 * @Author: data-boot
 * @Date:   2023-07-05
 * @Version: V1.0
 */
@Data
@TableName("hl_build")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hl_build对象", description="大健康房间")
public class HlBuild implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**多租户*/
	@Excel(name = "多租户", width = 15)
    @ApiModelProperty(value = "多租户")
    private Integer tenantId;
	/**大健康项目主键*/
	@Excel(name = "大健康项目主键", width = 15, dictTable = "hl_project", dicText = "project_name", dicCode = "id")
	@Dict(dictTable = "hl_project", dicText = "project_name", dicCode = "id")
    @ApiModelProperty(value = "大健康项目主键")
    private String projectId;
	/**大健康项目编号*/
	@Excel(name = "大健康项目编号", width = 15)
    @ApiModelProperty(value = "大健康项目编号")
    private String projectNo;
	/**楼栋编号*/
	@Excel(name = "楼栋编号", width = 15)
    @ApiModelProperty(value = "楼栋编号")
    private String buildNo;
	/**单元编号*/
	@Excel(name = "单元编号", width = 15)
    @ApiModelProperty(value = "单元编号")
    private String unitNo;
	/**房间编号*/
	@Excel(name = "房间编号", width = 15)
    @ApiModelProperty(value = "房间编号")
    private String roomNo;
	/**序列编号*/
	@Excel(name = "序列编号", width = 15)
    @ApiModelProperty(value = "序列编号")
    private String uniNo;
	/**房间类型*/
	@Excel(name = "房间类型", width = 15, dicCode = "hl_room_type")
	@Dict(dicCode = "hl_room_type")
    @ApiModelProperty(value = "房间类型")
    private Integer type;
	/**房间状态*/
	@Excel(name = "房间状态", width = 15, dicCode = "hl_room_status")
	@Dict(dicCode = "hl_room_status")
    @ApiModelProperty(value = "房间状态")
    private Integer status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
